﻿namespace WebsocketDemo.Mode
{
    public class UniverExcelModel
    {
        /// <summary>
        /// 版本号
        /// </summary>
        public string? AppVersion { get; set; }
        /// <summary>
        /// HTML选择器默认值为null
        /// </summary>
        public string? Container { get; set; }
        /// <summary>
        /// unit id
        /// </summary>
        public string? Id { get; set; }
        /// <summary>
        /// 语言
        /// </summary>
        public string? Locale { get; set; }
        /// <summary>
        /// 名字
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 源
        /// </summary>
        public List<UniverResources>? Resources { get; set; } = new List<UniverResources>();
        /// <summary>
        /// 此电子表格的修订版。将用于协作编辑。从一开始
        /// </summary>
        public decimal? Rev { get; set; }
        /// <summary>
        /// 此电子表格的修订版。将用于协作编辑。从一开始
        /// </summary>
        public Dictionary<string, UniverWorksheet>? Sheets { get; set; }= new Dictionary<string, UniverWorksheet>();
        
        /// <summary>
        /// 排序
        /// </summary>
        public List<string>? SheetOrder { get; set; } = new List<string>();
        
        /// <summary>
        /// 名字
        /// </summary>
        public bool? ShouldStartRenderingImmediately { get; set; }

        public dynamic? Styles { get; set; }
    }
}
